package com.java.mybatis.entity;

import java.io.Serializable;

/**
 * (Roles)实体类
 * 注（职位表）
 * @author makejava
 * @since 2021-01-15 17:10:28
 */
public class Roles implements Serializable {
    private static final long serialVersionUID = -10575756912700784L;
    /**
    * 角色编号
    */
    private Integer rolesId;
    /**
    * 角色名称
    */
    private String rolesName;
    /**
     * 拥有权限
     */
    private String rolesJurisdiction;
    /**
    * 角色描述
    */
    private String rolesDescribe;
    /**
     * 角色状态
     */
    private String rolesCode;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getRolesId() {
        return rolesId;
    }

    public void setRolesId(Integer rolesId) {
        this.rolesId = rolesId;
    }

    public String getRolesName() {
        return rolesName;
    }

    public void setRolesName(String rolesName) {
        this.rolesName = rolesName;
    }

    public String getRolesJurisdiction() {
        return rolesJurisdiction;
    }

    public void setRolesJurisdiction(String rolesJurisdiction) {
        this.rolesJurisdiction = rolesJurisdiction;
    }

    public String getRolesDescribe() {
        return rolesDescribe;
    }

    public void setRolesDescribe(String rolesDescribe) {
        this.rolesDescribe = rolesDescribe;
    }

    public String getRolesCode() {
        return rolesCode;
    }

    public void setRolesCode(String rolesCode) {
        this.rolesCode = rolesCode;
    }
    //重写toString()的方法

    @Override
    public String toString() {
        return "Roles{" +
                "rolesId=" + rolesId +
                ", rolesName='" + rolesName + '\'' +
                ", rolesJurisdiction='" + rolesJurisdiction + '\'' +
                ", rolesDescribe='" + rolesDescribe + '\'' +
                ", rolesCode='" + rolesCode + '\'' +
                '}';
    }
}